<script language="JavaScript" type="text/javascript" src="WdatePicker.js"></script>

<INPUT id=d11 onclick=WdatePicker()>